package com.ark.frigate.zookeeper.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Author ZengWeiLong
 * @Description Copy Right Beyonca
 * @Date 2022/7/13 20:18
 * @Version 1.0
 */
public class MyEvent extends ApplicationEvent {

    public boolean isAsync;

    public MyEvent(Object source) {
        super(source);
    }

    public boolean isAsync() {
        return isAsync;
    }

    public void setAsync(boolean async) {
        isAsync = async;
    }
}
